ARG = -o3 --std=gnu++0x

epollclient:main.o TestClient.o unity.o
	g++ $(ARG) main.o TestClient.o unity.o -o epollclient

main.o:main.cpp TestClient.h
	g++ $(ARG) -c main.cpp -o main.o

TestClient.o:TestClient.cpp TestClient.h ClientProcess.h 
	g++ $(ARG) -c TestClient.cpp -o TestClient.o

unity.o:../unity.cpp
	g++ $(ARG) -c ../unity.cpp -o unity.o

clean:
	rm -rf *.o epollclient
